<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
    <script type="text/javascript">
        function msgs() {
            try {
                aslert("welcome guest!");
            }
            catch (erro) {
                txt = "There was an error on this page. \n\n";
                txt += "Error description: " + erro.description + "\n\n";
                txt += "Click OK to continue.\n\n";
                //alert(txt);
                if (!confirm(txt)) {
                    document.location.href="http://localhost/";
                }
                else {
                    document.location.href="http://localhost/jsloop.html";
                }
            }
        }
    </script>
	<title></title>
</head>
<body>
    <p>    an onmouseover event</p>
    <!-- <a href="" onmouseover="alert('OnMouseOver event'); return false"><img src="klematis_big.jpg" alt="" width="300" height="253" /></a> -->
    <input type="button" value="View msg" onclick="msgs()" />
</body>
</html>
